package com.stackexchange.webapis
{
	import com.stackexchange.webapis.enums.UserType;

	public class Tag
	{
		/**
		 * name of the tag
		 **/
		public var name:String;
		
		/**
		 * tag count, exact meaning depends on context
		 **/
		public var count:int;
		
		/**
		 * user types that can make use of this tag, lack of this field indicates it is useable by all
		 **/
		public var restrictedTo:UserType;
		
		/**
		 * indicates whether this tag is one of those that is required to be on a post
		 **/
		public var fulfillsRequired:Boolean;
		
		/**
		 * user associated with this tag, depends on context
		 **/
		public var userId:int;
	}
}